package org.btik.light.meta.base.report;

import org.btik.light.meta.base.Report;
import org.btik.light.meta.base.LightImpl;

/**
 * @author lustre
 * @version 1.0
 * @since 2021/5/15 12:37
 * 同步命令返回报文
 */
public class DefaultReport extends LightImpl implements Report {
    private String dev;
    private int returnCode;
    private String returnMsg;

    public void setDev(String dev) {
        this.dev = dev;
    }

    public void setReturnCode(int returnCode) {
        this.returnCode = returnCode;
    }

    public void setReturnMsg(String returnMsg) {
        this.returnMsg = returnMsg;
    }

    @Override
    public String getDev() {
        return dev;
    }

    @Override
    public int getReturnCode() {
        return returnCode;
    }

    @Override
    public String getReturnMsg() {
        return returnMsg;
    }

    @Override
    public int getMsgType() {
        return 0;
    }
}
